#!/bin/bash
source "${LMD_BASE_INSTALL_SCRIPT_DIR}/global/sys_check.sh"
echo "===== sys info start ====="
if [ -f /System/Library/CoreServices/SystemVersion.plist ]; then
    sw_vers
    system_profiler SPHardwareDataType
elif current_os_is_windows; then
    echo "CPU cores: $(nproc)"
fi

uname -a

CONDA_PREFIX="./venv"

if [ -d "$CONDA_PREFIX" ]; then
    echo "pip in $CONDA_PREFIX:"
    conda run -p $CONDA_PREFIX --no-capture-output pip -V
fi
echo "===== sys info end ====="

